Exchange 2007 "Test-xxxx" cmdlets
Hi I was reading this article here: http://www.msexchange.org/pages/newsletters/august2007.asp and had a couple of questions - Test-SystemHealth - is this valid test to run on a production mail system to make sure everything is ok? For instance, we use NetIQ for alerts, and sometimes we get 'false alerts'. Will running this command show whether everything is working as it should (DC access, MAPI connectivity, services etc). Test-Mailflow - another good test to run for the above situation? Should we run just the default command or Test-Mailflow -TargetEmailAddress me@hotmail.com for instance? Any other ones people can recommend? We'running Exchange 2007 Sp2.
January 28th, 2011 5:17pm

Test-SystemHealth is pretty much the same as the Best Practises tool that is in the Toolbox. It isn't something I tend to run frequently. It doesn't confirm everything is working correctly, it is more of a configuration test tool. There are a number of test tools. If you create a test user using the new-testcasconnectivityuser from the scripts directory (C:\Program Files\Microsoft\Exchange\Scripts) then you can run a number of tests which will confirm connectivity. test- then press tab will show the tests that are available. The ones I use most on a standard system are: test-webservicesconnectivity test-MAPIConnectivity test-OutlookWebServices - that one does autodiscover as well test-owaconnectivity They have various options, which you can find on Technet for each test. Put |fl after the command to see the full text - useful when errors are generated. Simon. Simon Butler, Exchange MVP Blog | Exchange Resources
Free Windows Admin Tool Kit Click here and download it now
January 28th, 2011 7:51pm

Great, thanks Simon. Just one final question if that's ok? Our Exchange org is made up of different regions (EMEA, APAC, LTAM etc). All EMEA servers start with GBENG (e.g. GBENGMBX1). If I wanted to run, say Test-MAPIConnectivity, for EMEA servers only, how would do I that? Secondly, is Test-MAPIConnectivity also a good test to ensure the stores are up? I assume if the stores are down, this would fail?
January 30th, 2011 7:25am

On Sun, 30 Jan 2011 12:18:57 +0000, Pancamo wrote: > > >Great, thanks Simon. > >Just one final question if that's ok? Our Exchange org is made up of different regions (EMEA, APAC, LTAM etc). All EMEA servers start with GBENG (e.g. GBENGMBX1). If I wanted to run, say Test-MAPIConnectivity, for EMEA servers only, how would do I that? Get-ExchangeServer | where {$_.name -match "^emea" -and $_.serverrole -match 'mailbox'} | test-mapiconnectivity >Secondly, is Test-MAPIConnectivity also a good test to ensure the stores are up? I assume if the stores are down, this would fail? This would tell you if a store was "up" (mounted), or down: Get-MailboxDatabase -status | ft server,storagegroup,name,mounted Connectivity to a store doesn't tell you the status of the store. --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
January 30th, 2011 12:45pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics